package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallUserAccountHistoryDao;
import com.appkubes.mall.core.entity.MallUserAccountHistory;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallUserAccountHistoryService extends AbstractBaseService<BaseMallUserAccountHistoryDao, MallUserAccountHistory> {

    MallUserAccountHistory getOneByEntity(MallUserAccountHistory entity);

    List<MallUserAccountHistory> selectListByEntity(MallUserAccountHistory entity);

    IPage<MallUserAccountHistory> selectPageByEntity(IPage<MallUserAccountHistory> page);
    IPage<MallUserAccountHistory> selectPageByEntity(PageVO pageVO);

    IPage<MallUserAccountHistory> selectPageByEntity(MallUserAccountHistory entity, IPage<MallUserAccountHistory> page);
    IPage<MallUserAccountHistory> selectPageByEntity(MallUserAccountHistory entity, PageVO pageVO);

    IPage<MallUserAccountHistory> selectPageByEntity(MallUserAccountHistory entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallUserAccountHistory entity);
}
